package com.yonyou.pmclouds.safetyrectification.rectificationrecord.service;

import com.yonyou.pmclouds.basecom.exception.BusinessException;
import com.yonyou.pmclouds.safetyrectification.rectificationrecord.entity.RectificationRecordVO;

/**
 * 安全整改-整改记录事务接口
 *
 * @author tanghuan
 * @date 2019/10/26
 */
public interface IRectiRecordMaintain {
    /**
     * 新增
     *
     * @param vo
     * @return
     * @throws BusinessException
     */
    RectificationRecordVO add(RectificationRecordVO vo) throws BusinessException;

    /**
     * 更新
     *
     * @param vo
     * @param fields
     * @return
     * @throws BusinessException
     */
    RectificationRecordVO update(RectificationRecordVO vo, String[] fields) throws BusinessException;

}
